<?php
/**
 * +------------------------------
 * Created by PhpStorm.
 * +------------------------------
 * User: xxx
 * +------------------------------
 * DateTime: 2019/12/10 14:25
 * +------------------------------
 */

require __DIR__ . '/vendor/autoload.php';
require_once __DIR__ . '/app/config/define.php';


$db = new \Core\init\MyDB();

$rs = collect($db->setDbSource('test')->table("wp_users")->first())->toArray();
var_dump($rs);